package com.hevery.beans.factory;

import com.hevery.beans.BeanDefinition;

/**
 * @description: 定义BeanFactory规范(将从URL获取到的Bean资源转换为BeanDefinition，生成对应的Bean实例)
 * @author: hongyu.zhang
 * @create: 2018-03-20
 **/
public interface BeanFactory {
    Object getBean(String name);
    void registerBeanDefinition(String name, BeanDefinition beanDefinition) throws Exception;
}
